home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / APW Interfaces / AInclude / E16.QuickDraw < prev    next >
Encoding:
Text File  |  1992-05-26  |  5.6 KB  |  195 lines  |  [TEXT/MPS ]

  1. ; File:  E16.Quickdraw
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-92
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. alreadyInitialized GEQU $0401 ; Quickdraw already initialized
  9. cannotReset GEQU $0402 ; never used
  10. notInitialized GEQU $0403 ; Quickdraw not initialized
  11. screenReserved GEQU $0410 ; screen reserved
  12. badRect GEQU $0411 ; bad rectangle
  13. notEqualChunkiness GEQU $0420 ; Chunkiness is not equal
  14. rgnAlreadyOpen GEQU $0430 ; region is already open
  15. rgnNotOpen GEQU $0431 ; region is not open
  16. rgnScanOverflow GEQU $0432 ; region scan overflow
  17. rgnFull GEQU $0433 ; region is full
  18. polyAlreadyOpen GEQU $0440 ; poly is already open
  19. polyNotOpen GEQU $0441 ; poly is not open
  20. polyTooBig GEQU $0442 ; poly is too big
  21. badTableNum GEQU $0450 ; bad table number
  22. badColorNum GEQU $0451 ; bad color number
  23. badScanLine GEQU $0452 ; bad scan line
  24. notImplemented GEQU $04FF ; not implemented
  25. tsNumber GEQU $04
  26. _colorTable GEQU $0F ; Mask for SCB color table
  27. scbReserved GEQU $10 ; Mask for SCB reserved bit
  28. scbFill GEQU $20 ; Mask for SCB fill bit
  29. scbInterrupt GEQU $40 ; Mask for SCB interrupt bit
  30. scbColorMode GEQU $80 ; Mask for SCB color mode bit
  31. table320 GEQU $32 ; (val=size)
  32. table640 GEQU $32 ; (val=size)
  33. blueMask GEQU $000F ; Mask for Blue nibble
  34. greenMask GEQU $00F0 ; Mask for green nibble
  35. redMask GEQU $0F00 ; Mask for red nibble
  36. widMaxSize GEQU $0001
  37. zeroSize GEQU $0002
  38. maskSize GEQU $08 ; Mask Size (val=size)
  39. locSize GEQU $10 ; Loc Size (val=size)
  40. patsize GEQU $20 ; Pattern Size (val=size)
  41. pnStateSize GEQU $32 ; Pen State Size (Val=size)
  42. portSize GEQU $AA ; Size of GrafPort
  43. black GEQU $000 ; These work in 320 and 640 mode
  44. blue GEQU $00F ; These work in 320 and 640 mode
  45. darkGreen320 GEQU $080 ; These work in 320 mode
  46. green320 GEQU $0E0 ; These work in 320 mode
  47. green640 GEQU $0F0 ; These work in 640 mode
  48. lightBlue320 GEQU $4DF ; These work in 320 mode
  49. purple320 GEQU $72C ; These work in 320 mode
  50. darkGray320 GEQU $777 ; These work in 320 mode
  51. periwinkleBlue320 GEQU $78F ; These work in 320 mode
  52. brown320 GEQU $841 ; These work in 320 mode
  53. lightGray320 GEQU $0CCC ; These work in 320 mode
  54. red320 GEQU $0D00 ; These work in 320 mode
  55. lilac320 GEQU $0DAF ; These work in 320 mode
  56. red640 GEQU $0F00 ; These work in 640 mode
  57. orange320 GEQU $0F70 ; These work in 320 mode
  58. flesh320 GEQU $0FA9 ; These work in 320 mode
  59. yellow GEQU $0FF0 ; These work in 320 and 640 mode
  60. white GEQU $0FFF ; These work in 320 and 640 mode
  61. modeCopy GEQU $0000
  62. modeOR GEQU $0001
  63. modeXOR GEQU $0002
  64. modeBIC GEQU $0003
  65. modeForeCopy GEQU $0004
  66. modeForeOR GEQU $0005
  67. modeForeXOR GEQU $0006
  68. modeForeBIC GEQU $0007
  69. modeNOT GEQU $8000
  70. notCopy GEQU $8000
  71. notOR GEQU $8001
  72. notXOR GEQU $8002
  73. notBIC GEQU $8003
  74. notForeCOPY GEQU $8004
  75. notForeOR GEQU $8005
  76. notForeXOR GEQU $8006
  77. notForeBIC GEQU $8007
  78. mode320 GEQU $0000 ; Argument to QDStartup
  79. mode640 GEQU $0080 ; Argument to QDStartup
  80. plainMask GEQU $0000 ; Mask for plain text bit
  81. boldMask GEQU $0001 ; Mask for bold bit
  82. italicMask GEQU $0002 ; Mask for italic bit
  83. underlineMask GEQU $0004 ; Mask for underline bit
  84. outlineMask GEQU $0008 ; Mask for outline bit
  85. shadowMask GEQU $0010 ; Mask for shadow bit
  86. fUseShadowing GEQU $8000 ;corrected 26-May-92 DAL
  87. fFastPortAware GEQU $4000
  88. ; offset constants for Cursor
  89. ocursorHeight GEQU 0
  90. ocursorWidth GEQU 2
  91. ocursorData GEQU 4
  92. ocursorMask GEQU 6
  93. ocursorHotSpot GEQU 8
  94. ; offset constants for Region
  95. orgnSize GEQU 0  ; size in bytes
  96. orgnBBox GEQU 2  ; enclosing rectangle
  97. ; offset constants for BufDimRec
  98. omaxWidth GEQU 0
  99. otextBufHeight GEQU 2
  100. otextBufferWords GEQU 4
  101. ofontWidth GEQU 6
  102. ; offset constants for Font
  103. ooffseToMF GEQU 0  ; fully defined front of the Font record.
  104. ofamily GEQU 2
  105. ostyle GEQU 4
  106. osize GEQU 6
  107. oversion GEQU 8
  108. ofbrExtent GEQU 10
  109. ohighowTLoc GEQU 12  ;  
  110. ; offset constants for FontGlobalsRecord
  111. ofgFontID GEQU 0
  112. ofgStyle GEQU 2
  113. ofgSize GEQU 4
  114. ofgVersion GEQU 6
  115. ofgWidMax GEQU 8
  116. ofgFBRExtent GEQU 10
  117. ; offset constants for FontID
  118. ofamNum GEQU 0
  119. ofontStyle GEQU 2
  120. ofontSize GEQU 3
  121. ; offset constants for FontInfoRecord
  122. oascent GEQU 0
  123. odescent GEQU 2
  124. owidMax GEQU 4
  125. oleading GEQU 6
  126. ; offset constants for LocInfo
  127. oportSCB GEQU 0
  128. optrToPixImage GEQU 2
  129. owidth GEQU 6
  130. oboundsRect GEQU 8
  131. ; offset constants for QDProcs
  132. ostdText GEQU 0
  133. ostdLine GEQU 4
  134. ostdRect GEQU 8
  135. ostdRRect GEQU 12
  136. ostdOval GEQU 16
  137. ostdArc GEQU 20
  138. ostdPoly GEQU 24
  139. ostdRgn GEQU 28
  140. ostdPixels GEQU 32
  141. ostdComment GEQU 36
  142. ostdTxMeas GEQU 40
  143. ostdTxBnds GEQU 44
  144. ostdGetPic GEQU 48
  145. ostdPutPic GEQU 52
  146. ; offset constants for GrafPort
  147. oportInfo GEQU 0
  148. oportRect GEQU 16  ; PortRect
  149. oclipRgn GEQU 24  ; Clip Rgn. Pointer
  150. ovisRgn GEQU 28  ; Vis. Rgn. Pointer
  151. obkPat GEQU 32  ; BackGround Pattern
  152. opnLoc GEQU 64  ; Pen Location
  153. opnSize GEQU 68  ; Pen Size
  154. opnMode GEQU 72  ; Pen Mode
  155. opnPat GEQU 74  ; Pen Pattern
  156. opnMask GEQU 106  ; Pen Mask
  157. opnVis GEQU 114  ; Pen Visable
  158. ofontHandle GEQU 116
  159. ofontID GEQU 120  ; Font ID
  160. ofontFlags GEQU 124  ; FontFlags
  161. otxSize GEQU 126  ; Text Size
  162. otxFace GEQU 128  ; Text Face
  163. otxMode GEQU 130  ; Text Mode
  164. ospExtra GEQU 132  ; Fixed Point Value
  165. ochExtra GEQU 136  ; Fixed Point Value
  166. ofgColor GEQU 140  ; ForeGround Color
  167. obgColor GEQU 142  ; BackGround Color
  168. opicSave GEQU 144  ; PicSave
  169. orgnSave GEQU 148  ; RgnSave
  170. opolySave GEQU 152  ; PolySave
  171. ografProcs GEQU 156
  172. oarcRot GEQU 160  ; ArcRot
  173. ouserField GEQU 162  ; UserField
  174. osysField GEQU 166  ; SysField
  175. ; offset constants for PaintParam
  176. optrToSourceLocInfo GEQU 0
  177. optrToDestLocInfo GEQU 4
  178. optrToSourceRect GEQU 8
  179. optrToDestPoint GEQU 12
  180. omode GEQU 16
  181. omaskHandle GEQU 18
  182. ; offset constants for PenState
  183. opsPenLoc GEQU 0
  184. opsPenSize GEQU 4
  185. opsPenMode GEQU 8
  186. opsPenPat GEQU 10
  187. opsPenMask GEQU 42  ;  
  188. ; offset constants for RomFontRec
  189. orfFamNum GEQU 0
  190. orfFamStyle GEQU 2
  191. orfSize GEQU 4
  192. orfFontHandle GEQU 6
  193. orfNamePtr GEQU 10
  194. orfFBRExtent GEQU 14
  195.